package TankGame1;

import java.io.Serializable;
import java.util.Vector;

public class Recorder implements Serializable {
    //敌人坦克情况
    private Vector<EnemyTank> EnemyTanks = new Vector<>();
    //杀了几个敌人
    private int killNums = 0;
    //有存档时使用
    public Recorder(Vector<EnemyTank> enemyTanks, int killNums) {
        EnemyTanks = enemyTanks;
        this.killNums = killNums;
    }
    //新游戏时使用
    public Recorder() {
    }

    public Vector<EnemyTank> getEnemyTanks() {
        return EnemyTanks;
    }

    public void setEnemyTanks(Vector<EnemyTank> enemyTanks) {
        EnemyTanks = enemyTanks;
    }

    public int getKillNums() {
        return killNums;
    }

    public void setKillNums(int killNums) {
        this.killNums = killNums;
    }
}
